package com.small.nacos.api.exception;

import small.common.core.exceptions.CommonException;

public class NacosException extends CommonException {

    /**
     * invalid param（参数错误）.
     */
    public static final int CLIENT_INVALID_PARAM = -400;

    public NacosException() {
    }

    public NacosException(final int errCode, final String errMsg) {
        super(errCode, errMsg);
    }

    public NacosException(final int errCode, final Throwable throwable) {
       super(errCode,throwable);
    }

    public NacosException(final int errCode, final String errMsg, final Throwable throwable) {
        super(errCode,errMsg,throwable);
    }
}
